package com.luo.service.impl;

import com.luo.pojo.po.ProductTypes;
import com.luo.mapper.ProductTypesMapper;
import com.luo.service.IProductTypesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author luo
 * @since 2025-06-24
 */
@Service
public class ProductTypesServiceImpl extends ServiceImpl<ProductTypesMapper, ProductTypes> implements IProductTypesService {

    @Override
    public List<ProductTypes> Inquire(String keyword) {
        return lambdaQuery().like(keyword != null, ProductTypes::getTypeName, keyword).list();
    }
}
